package net.zhnb.dao;

import java.math.BigDecimal;

import net.zhnb.bean.Lottery;
import finaler.db.BaseDao;
import finaler.util.Page;
import finaler.util.PageList;

public interface LotteryDao extends BaseDao<Lottery> {

    public int getLotteryCount(String mobile)throws Exception ;

    public int getLotteryCount(String mobile,int lun)throws Exception ;

    public int countByMobileShowerid(String mobile , BigDecimal lun,BigDecimal showerid )throws Exception ;
    
    public int getMaxLotteryId(String mobile)throws Exception ;
    
	public PageList getPageList(Page page) throws Exception;
}
